// pages/home/pages/business/business.js
var http = require('../../../../service/http.js');//请求类
var util = require('../../../../utils/util.js');//工具类
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  previewImg:function(e){
    console.log('previewImg',e);
    let [imgArry, currImg] = [[], e.currentTarget.dataset.url];
    imgArry.push(currImg) ;
    util.previewImg(imgArry, currImg);
  }

})